package net.lab1024.sa.admin.module.business.cutting.domain.form;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import io.swagger.v3.oas.annotations.media.Schema;
import java.time.LocalDateTime;
import lombok.Data;
import net.lab1024.sa.base.common.json.deserializer.FileKeyVoDeserializer;

/**
 * 下料表 新建表单
 *
 * @Author zzx
 * @Date 2025-08-08 19:37:29
 * @Copyright zzx
 */

@Data
public class CuttingInfoAddForm {

    @Schema(description = "项目id", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long projectId;

    @Schema(description = "报价id", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long quotationId;

    @Schema(description = "下料名称")
    private String cuttingName;

    @Schema(description = "备注")
    private String remark;

    @Schema(description = "文件")
    @JsonDeserialize(using = FileKeyVoDeserializer.class)
    private String cuttingFile;

    @Schema(description = "预计完成时间")
    private LocalDateTime exceptCompleteTime;

}